module "unipus" {
  source = "./modules"

  region = "cn-north-4"

  // VPC Vars
  vpc_name        = "unipus"
  vpc_description = "unipus-vpc"
  subnet_name     = "unipus-subnet"


  // MySQL Vars
  rds_create     = true
  rds_name       = "unipus-mysql"
  rds_db_version = "5.7"
  rds_password   = "Huawei@123!%^&"
 

  // Redis Vars
  dcs_create   = false
  dcs_name     = "unipus-redis"
  dcs_capacity = 1
  dcs_password = "Huawei@123"
  dcs_whitelists = [
    {
      group_name = "test-group1"
      ip_address = ["192.168.10.0/16"]
    }
  ]

 
  // Mongodb Vars
  dds_create   = false
  dds_name     = "unipus-mongodb"
  dds_password = "Huawei@123"

/*
  // RabbitMQ Vars
  rabbitmq_create = false
  rabbitmq_name   = "unipus"
  rabbitmq_password = "Huawei@123"
*/

  // Elasticsearch Vars
  css_create = false
  css_name = "unipus_es"

   // CCE Vars
  cce_create = true
  cce_cluster_name = "unipus-cce"
  cce_nodepool_name = "unipus-pool" 
  
 

}
